﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Skyworth.CRM.Service.Entity;

namespace Skyworth.CRM.Service.IBLL
{
    public interface IDepartmentBLL
    {
        DataTable GetAllDepartment();

        DataTable Query(string strWhere);

        DataTable GetAllSubDepartment(int parentId);

        DataTable GetSubDepartment(int parentId);

        void Add(Department department);

        Boolean Update(Department department);

        Boolean Delete(int departmentId);
    }
}
